Platform Explorer / Nuxeo Platform 11.4

Extension point mimeTypeContentDiffer

Documentation

Allows to contribute default implementation of content diff according to the mime type.

Contribution Descriptors

  • Class: org.nuxeo.ecm.diff.content.adapter.MimeTypeContentDifferDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-diff-content-11.4.jar /OSGI-INF/content-diff-adapter-contrib.xml
    <extension point="mimeTypeContentDiffer" target="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent">
        <contentDiffer class="org.nuxeo.ecm.diff.content.adapter.HtmlContentDiffer">
          <pattern>text/html</pattern>
        </contentDiffer>
        <contentDiffer class="org.nuxeo.ecm.diff.content.adapter.HtmlContentDiffer">
          <pattern>text/plain</pattern>
        </contentDiffer>
        <contentDiffer class="org.nuxeo.ecm.diff.content.adapter.HtmlContentDiffer">
          <pattern>text/xml</pattern>
        </contentDiffer>
        <contentDiffer class="org.nuxeo.ecm.diff.content.adapter.HtmlContentDiffer">
          <pattern>application/json</pattern>
        </contentDiffer>
      </extension>